Change-Id: I0d43d82e2d78f86e50fac82f10bd1d7cebac176c
try {
$final = new DateTime( $strtime, new DateTimeZone( 'GMT' ) );
} catch(Exception $e) {
- throw new TimestampException( __METHOD__ . 'Invalid timestamp format.' );
+ throw new TimestampException( __METHOD__ . ' Invalid timestamp format.' );
}
} else {
$final = strtotime( $strtime );
}
if( $final === false ) {
- throw new TimestampException( __METHOD__ . 'Invalid timestamp format.' );
+ throw new TimestampException( __METHOD__ . ' Invalid timestamp format.' );
}
$this->timestamp = $final;
}